home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / iconv.z / iconv
Text File  |  1998-10-20  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4. iiiiccccoooonnnnvvvv((((1111))))                                                              iiiiccccoooonnnnvvvv((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      iconv - code set conversion utility
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      iiiiccccoooonnnnvvvv [-ei] -f fromcode -t tocode [file]
  13.      iiiiccccoooonnnnvvvv [-ei] -l
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      _iiii_cccc_oooo_nnnn_vvvv converts the characters or sequences of characters in file from one
  17.      code set to another and writes the results to standard output.  Should no
  18.      conversion exist for a particular character then it is converted to the
  19.      underscore ' ' in the target code set.
  20.  
  21.      With the arguments _f_r_o_m_c_o_d_e and _t_o_c_o_d_e identifying the input and output
  22.      code sets, respectively _iiii_cccc_oooo_nnnn_vvvv will data perform conversion.  If no file
  23.      argument is specified on the command line, _iiii_cccc_oooo_nnnn_vvvv reads the standard
  24.      input. -_e will echo conversion errors to standard error while -_i will not
  25.      report errors. -_i is the default.
  26.  
  27.      Optional _iiii_cccc_oooo_nnnn_vvvv converters are available by installing _I_R_I_X national
  28.      language support options. _iiii_cccc_oooo_nnnn_vvvv -_l will list converters that are
  29.      configured for that system. _iiii_cccc_oooo_nnnn_vvvv -_e_l will only list those converters
  30.      that are able to be opened. These may be different due to resource or
  31.      incomplete instalation problems.
  32.  
  33.      Unless otherwise specified, conversions between dis-similar code-sets are
  34.      performed by using _U_N_I_C_O_D_E as the intermediate code set.
  35.  
  36. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  37.      The following converts the contents of file "file.txt" from code set
  38.      ISO-8859-1 to UTF-8 and stores the results in file file.iv.
  39.  
  40.      _iiii_cccc_oooo_nnnn_vvvv -f ISO8859-1 -t UTF-8 < file.txt > file.iv
  41.  
  42.      Or if you have the Japanese environment installed you may perform the
  43.      following which converts file "file.sjis" from the PC-DOS Japanese code
  44.      set to the eucJP or Extended Unix Code for Japanese and stores the
  45.      results in "file.eucJP".
  46.  
  47.      _iiii_cccc_oooo_nnnn_vvvv -f sjis -t eucJP < file.sjis > file.eucJP
  48.  
  49. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  50.      _iiii_cccc_oooo_nnnn_vvvv(3c)
  51.  
  52. FFFFIIIILLLLEEEESSSS
  53.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_iiii_cccc_oooo_nnnn_vvvv_////_ssss_pppp_eeee_cccc
  54.           lists the conversions supported
  55.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_iiii_cccc_oooo_nnnn_vvvv_////_tttt_aaaa_bbbb_llll_eeee_ssss
  56.           conversion tables
  57.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_uuuu_xxxx_mmmm_eeee_ssss_gggg
  58.           language-specific message file [See _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5).]
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. iiiiccccoooonnnnvvvv((((1111))))                                                              iiiiccccoooonnnnvvvv((((1111))))
  71.  
  72.  
  73.  
  74. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  75.      _iiii_cccc_oooo_nnnn_vvvv returns 0 upon successful completion, 1 otherwise.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.